package com.fenrirtec.aepp.common.service;

import java.util.List;

import com.fenrirtec.aepp.common.condition.MemberCondition;
import com.fenrirtec.aepp.common.dto.AuditFlowDto;
import com.fenrirtec.aepp.common.dto.MemberDto;

public interface MemberManageService {
	Boolean memberRegist(MemberDto memberDto);
	Boolean memberExists(String memberLoginName);
	List<MemberDto> memberSearch(MemberCondition condition);
	MemberDto memberInfo(String memberLoginName);
	Integer memberCount(MemberCondition condition);
	void removeImage(String memberLoginName, Integer attachmentCategory, Integer attachmentId);
	MemberDto login(String memberLoginName, String memberLoginPassword);
	Boolean memberAudit(String memberLoginName, Integer auditResult, String auditComment, String loginName);
	Boolean memberEdit(MemberDto memberDto);
	List<AuditFlowDto> auditFlowSearch(String memberLoginName);
	void updateAuditResult(AuditFlowDto auditFlowDto);
	void insertAuditFlow(AuditFlowDto auditFlowDto);
	//显示全部会员信息
	List<MemberDto> findAll();
	//根据输入的查询条件进行会员信息查询
	List<MemberDto> searchMember(MemberCondition condition);
	MemberDto showMember(String memberLoginName);
	//删除会员信息
	void deleteMember(String memberLoginName);
	//修改密码
	Boolean memberChangePassword(String memberName, String memberOldPassword, String memberNewPassword);
	Boolean deleteAuditFlow(String memberLoginName);
    void changeMemberRank(String memberLoginName, Integer rank, String updateUser);
}
